package com.brush.common.core.domain.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 接收App用户登录对象模型
 * @author: admin
 */
@ApiModel(value = "AppLoginReq",description = "App用户登录对象模型")
@Getter
@Setter
public class AppLoginReq {
    /**
     * 手机号
     */
    @ApiModelProperty(value = "手机号", required = true)
    @NotBlank(message = "{notBlank.username}")
    private String phone;

    @ApiModelProperty(value = "登录类型(1账号，2手机号)")
    @NotNull(message = "登录类型不能为空")
    private Integer type;


    /**
     * 用户密码
     */
    @ApiModelProperty(value = "用户密码")
    private String password;

    /**
     * 图片验证码
     */
    @ApiModelProperty(value = "图片验证码")
    private String imgCode;

    /**
     * 图片唯一标识
     */
    @ApiModelProperty(value = "图片唯一标识")
    private String uuid;

    /**
     * 手机验证码
     */
    @ApiModelProperty(value = "手机验证码")
    private String mobileCode;


}
